From: Paul Eggert Date: Mon, 20 Apr 2020 02:52:53 +0000 (-0700) Subject: Tweak wording re constant variables X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~19^2~220 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=05089a4d65831c5e873956f5f2d92a3d5672d405;p=emacs.git Tweak wording re constant variables * doc/lispref/objects.texi (Constants and Mutability): Tweak. Problem reported by Michael Heerdegen (Bug#40693#44). --- diff --git a/doc/lispref/objects.texi b/doc/lispref/objects.texi index b45eb7ad8a4..abd258eb537 100644 --- a/doc/lispref/objects.texi +++ b/doc/lispref/objects.texi @@ -2400,7 +2400,8 @@ literal @code{"aaa"} yields a constant string, whereas the function call @code{(make-string 3 ?a)} yields a mutable string that can be changed via later calls to @code{aset}. - Modifying a constant symbol signals an error (@pxref{Constant Variables}). + Trying to modify a constant variable signals an error +(@pxref{Constant Variables}). A program should not attempt to modify other types of constants because the resulting behavior is undefined: the Lisp interpreter might or might not detect the error, and if it does not detect the error the